package com.dks.repository;

import java.util.*;
import com.dks.models.FeedbackSheet;
import com.dks.result.ResultModel;

public interface IFeedbackSheetRepository {

    Integer insert(FeedbackSheet feedbackSheet);

    Integer update(FeedbackSheet feedbackSheet);

    Integer delete(Integer id);

    FeedbackSheet select(Integer id);

    Integer cntByMap(Map<String, Object> map);

    List<Integer> getByMap(Map<String, Object> map);

    List<FeedbackSheet> getByMapList(Map<String, Object> map);

    Integer updateByCode(FeedbackSheet feedbackSheet);

    FeedbackSheet selectByBfCode(String bfCode);

    ResultModel<Object> getFeedbackSheetList(Integer pageNum, Integer pageSize,Integer classId, Integer teacherId);

    ResultModel<Object> getFeedbackSheetInfo(Integer feedbackSheetId,Integer studentId);

    ResultModel<Object> addFeedbackSheet(FeedbackSheet feedbackSheet);

    ResultModel<Object> getFeedbackSheetTemplateInfo(Integer feedbackSheetTemplateId);
}
